﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014CB RID: 5323
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateRogueAdventureRoomScoreCsReq : IMessage<UpdateRogueAdventureRoomScoreCsReq>, IMessage, IEquatable<UpdateRogueAdventureRoomScoreCsReq>, IDeepCloneable<UpdateRogueAdventureRoomScoreCsReq>, IBufferMessage
	{
		// Token: 0x17004303 RID: 17155
		// (get) Token: 0x0600EE0C RID: 60940 RVA: 0x0027BE89 File Offset: 0x0027A089
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateRogueAdventureRoomScoreCsReq> Parser
		{
			get
			{
				return UpdateRogueAdventureRoomScoreCsReq._parser;
			}
		}

		// Token: 0x17004304 RID: 17156
		// (get) Token: 0x0600EE0D RID: 60941 RVA: 0x0027BE90 File Offset: 0x0027A090
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateRogueAdventureRoomScoreCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004305 RID: 17157
		// (get) Token: 0x0600EE0E RID: 60942 RVA: 0x0027BEA2 File Offset: 0x0027A0A2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateRogueAdventureRoomScoreCsReq.Descriptor;
			}
		}

		// Token: 0x0600EE0F RID: 60943 RVA: 0x0027BEA9 File Offset: 0x0027A0A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRogueAdventureRoomScoreCsReq()
		{
		}

		// Token: 0x0600EE10 RID: 60944 RVA: 0x0027BEB1 File Offset: 0x0027A0B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRogueAdventureRoomScoreCsReq(UpdateRogueAdventureRoomScoreCsReq other) : this()
		{
			this.kCENJNFNEPL_ = other.kCENJNFNEPL_;
			this.scoreId_ = other.scoreId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EE11 RID: 60945 RVA: 0x0027BEE2 File Offset: 0x0027A0E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateRogueAdventureRoomScoreCsReq Clone()
		{
			return new UpdateRogueAdventureRoomScoreCsReq(this);
		}

		// Token: 0x17004306 RID: 17158
		// (get) Token: 0x0600EE12 RID: 60946 RVA: 0x0027BEEA File Offset: 0x0027A0EA
		// (set) Token: 0x0600EE13 RID: 60947 RVA: 0x0027BEF2 File Offset: 0x0027A0F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint KCENJNFNEPL
		{
			get
			{
				return this.kCENJNFNEPL_;
			}
			set
			{
				this.kCENJNFNEPL_ = value;
			}
		}

		// Token: 0x17004307 RID: 17159
		// (get) Token: 0x0600EE14 RID: 60948 RVA: 0x0027BEFB File Offset: 0x0027A0FB
		// (set) Token: 0x0600EE15 RID: 60949 RVA: 0x0027BF03 File Offset: 0x0027A103
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x0600EE16 RID: 60950 RVA: 0x0027BF0C File Offset: 0x0027A10C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateRogueAdventureRoomScoreCsReq);
		}

		// Token: 0x0600EE17 RID: 60951 RVA: 0x0027BF1A File Offset: 0x0027A11A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateRogueAdventureRoomScoreCsReq other)
		{
			return other != null && (other == this || (this.KCENJNFNEPL == other.KCENJNFNEPL && this.ScoreId == other.ScoreId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EE18 RID: 60952 RVA: 0x0027BF58 File Offset: 0x0027A158
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.KCENJNFNEPL != 0U)
			{
				num ^= this.KCENJNFNEPL.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EE19 RID: 60953 RVA: 0x0027BFB0 File Offset: 0x0027A1B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EE1A RID: 60954 RVA: 0x0027BFB8 File Offset: 0x0027A1B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EE1B RID: 60955 RVA: 0x0027BFC4 File Offset: 0x0027A1C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.KCENJNFNEPL != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.KCENJNFNEPL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EE1C RID: 60956 RVA: 0x0027C020 File Offset: 0x0027A220
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.KCENJNFNEPL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.KCENJNFNEPL);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EE1D RID: 60957 RVA: 0x0027C078 File Offset: 0x0027A278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateRogueAdventureRoomScoreCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.KCENJNFNEPL != 0U)
			{
				this.KCENJNFNEPL = other.KCENJNFNEPL;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EE1E RID: 60958 RVA: 0x0027C0C8 File Offset: 0x0027A2C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EE1F RID: 60959 RVA: 0x0027C0D4 File Offset: 0x0027A2D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.KCENJNFNEPL = input.ReadUInt32();
					}
				}
				else
				{
					this.ScoreId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005E1E RID: 24094
		private static readonly MessageParser<UpdateRogueAdventureRoomScoreCsReq> _parser = new MessageParser<UpdateRogueAdventureRoomScoreCsReq>(() => new UpdateRogueAdventureRoomScoreCsReq());

		// Token: 0x04005E1F RID: 24095
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005E20 RID: 24096
		public const int KCENJNFNEPLFieldNumber = 13;

		// Token: 0x04005E21 RID: 24097
		private uint kCENJNFNEPL_;

		// Token: 0x04005E22 RID: 24098
		public const int ScoreIdFieldNumber = 10;

		// Token: 0x04005E23 RID: 24099
		private uint scoreId_;
	}
}
